home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
newsgroups
/
misc.20020314-20021006
/
000333_fdc@columbia.edu_Mon Sep 2 13:29:27 EDT 2002.msg
< prev
next >
Wrap
Text File
|
2002-10-06
|
2KB
|
60 lines
Article: 13663 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail
From: fdc@columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: remote dir and /dotfiles?
Date: 2 Sep 2002 13:29:18 -0400
Organization: Columbia University
Lines: 43
Message-ID: <al075e$8lf$1@watsol.cc.columbia.edu>
References: <uptvx9x9k.fsf@att.net>
NNTP-Posting-Host: watsol.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1030987759 17228 128.59.39.139 (2 Sep 2002 17:29:19 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 2 Sep 2002 17:29:19 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13663
In article <uptvx9x9k.fsf@att.net>,
Thomas A. Horsley <tom.horsley@att.net> wrote:
: Is there any way to get "remote directory" to list all the files all the
: time?
:
: I've tried all the combinations of "set options directory /dotfiles" on both
: the local and server side kermits and the /dotfiles switch on the remote
: directory command (doesn't seem to act like it is a switch when used with
: rdir), and nothing seems to work.
:
: Am I stuck with always running two command to get the whole list?
: ("rdir" and "rdir .*").
:
: (This is with kermit 95 2.0 on the local side and C-Kermit 8.0.201
: on the remote side, by the way).
:
It's a bug, thanks for noticing. It can be fixed by a one-character patch
to ckufio.c:
*** 6292,6298 ****
/* This speeds things up a bit. */
/* If it causes trouble define NOSKIPMATCH and rebuild. */
if (depth == 0 && (s1[0] == '*') && !s1[1])
! mresult = matchdot ? 1 : (s2[0] != '.');
else
#endif /* NOSKIPMATCH */
mresult = ckmatch(s1,s2,1,opts); /* Match */
--- 6292,6298 ----
/* This speeds things up a bit. */
/* If it causes trouble define NOSKIPMATCH and rebuild. */
if (depth == 0 && (s1[0] == '*') && !s1[1])
! mresult = xmatchdot ? 1 : (s2[0] != '.');
else
#endif /* NOSKIPMATCH */
mresult = ckmatch(s1,s2,1,opts); /* Match */
That is, change the "matchdot" reference to "xmatchdot".
An updated working copy of C-Kermit with this fix is in:
http://www.columbia.edu/kermit/ckdaily.html
- Frank